<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
 * Url_field:
 * 'max_length' goes into 'data_length' field, but makes more sense to the end user.
 */
class Url_field extends Char_field
{
	
	public function __construct(Array $properties)
	{
		// Change Char Field's defaults
		$this->defaults['local'] = true;
		
		// Extend defaults with passed-in properties
		$properties = array_merge($this->defaults, $properties);
		
		parent::__construct($properties);
	} // end __construct
	
} // end Char_field